Skip to content

harden(ci): concurrency-cancel guard on canonical check workflows - #6

Merged
hyperpolymath merged 1 commit into
mainfrom
harden/ci-concurrency-estate-2026-05-18
May 18, 2026
Merged

harden(ci): concurrency-cancel guard on canonical check workflows#6
hyperpolymath merged 1 commit into
mainfrom
harden/ci-concurrency-estate-2026-05-18

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Redistributes merged standards#122. Adds concurrency{cancel-in-progress:true} to read-only check workflows (scorecard.yml scorecard-enforcer.yml governance.yml codeql.yml secret-scanner.yml) and scopes affinescript-verify push where present. Zero check coverage lost; read-only workflows only. 🤖 estate sweep

Redistributes the merged hyperpolymath/standards#122 canonical fix:
adds concurrency{cancel-in-progress:true} to read-only check workflows
(and scopes affinescript-verify push to [main,master]) so re-pushes /
rebased PRs do not pile up queued runs against the shared account-wide
Actions concurrency pool. Read-only checks only; zero coverage lost.

Files: scorecard.yml scorecard-enforcer.yml governance.yml codeql.yml secret-scanner.yml

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 4a5bd36 into main May 18, 2026
@hyperpolymath
hyperpolymath deleted the harden/ci-concurrency-estate-2026-05-18 branch May 18, 2026 09:29
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 73 issues detected

Severity Count
🔴 Critical 14
🟠 High 30
🟡 Medium 29

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in quality.yml",
    "type": "missing_workflow",
    "file": "quality.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in security-policy.yml",
    "type": "missing_workflow",
    "file": "security-policy.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Wildcard CORS -- restrict to specific origins or use env var (1 occurrences, CWE-942)",
    "type": "js_wildcard_cors",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/.build/config/webpack.config.js",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "getExn on external data -- use pattern matching (1 occurrences, CWE-754)",
    "type": "getexn_on_external",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/src/collaboration/comments.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "getExn on external data -- use pattern matching (1 occurrences, CWE-754)",
    "type": "getexn_on_external",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/src/rescript/Settings.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "Obj.magic bypassing type safety (7 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/src/rescript/adapters/UnoAdapter.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Obj.magic bypassing type safety (14 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/src/rescript/adapters/OfficeJsAdapter.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "getExn on external data -- use pattern matching (1 occurrences, CWE-754)",
    "type": "getexn_on_external",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/src/rescript/ConstraintEditor.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "unwrap() without prior check -- DoS via panic (2 occurrences, CWE-754)",
    "type": "unwrap_without_check",
    "file": "/home/runner/work/excel-economic-numbers-tool/excel-economic-numbers-tool/src/visualization/charts.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant